//
// Created by v on 24-5-13.
//

#ifndef JKLIBS_CM_PROTOCOL_CONVERT_IMPL_GENERAL_H
#define JKLIBS_CM_PROTOCOL_CONVERT_IMPL_GENERAL_H

#include "CmProtocolConvertInterface.h"

class CMProtocolConvertImplGeneral : public CMProtocolConvertInterface
{
  public:
    CMProtocolConvertImplGeneral();
    virtual ~CMProtocolConvertImplGeneral();
    std::string GenerateDeviceBroadInfo(CMDeviceBroadInfo &broadInfo) override;
    int         ParseDeviceBroadInfo(std::string       &data,
                                     CMDeviceBroadInfo &broadInfo) override;
    int         ParseDeviceBroadInfo(const char        *data,
                                     CMDeviceBroadInfo &broadInfo) override;
};

#endif // JKLIBS_CM_PROTOCOL_CONVERT_IMPL_GENERAL_H
